package com.pl.lc.app.service;

import com.pl.lc.app.config.OpenFeignConfig;
import com.pl.lc.common.param.UserVipAdd;
import com.pl.lc.common.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @version 1.0
 * @Author 小胤
 * @Date 2024/6/11 19:23
 * @注释
 */
@FeignClient(value = "lc-userserver", configuration = OpenFeignConfig.class)
public interface VipFeign {
    @PostMapping("/user/vip/save")
    public R save( @RequestBody UserVipAdd userVipAdd);
    @RequestMapping("/user/vip/my")
    public R my();
}
